package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
@ApiModel("客户解绑设备入参")
public class ConsumerunBindingRequest {
    @ApiModelProperty("客户 id")
    @NotNull(message = "客户id不能为空.")
    private Integer consumerId;

    @ApiModelProperty("设备iMEI号")
    @Size(min = 14, max = 17, message = "请输入正确格式IMEI号.")
    private String imei;

    @ApiModelProperty("设备绑定渠道, 1-模板一, 2-模板二时刻助手")
    @NotNull(message = "绑定渠道不能为空")
    private Integer templateType;

    @ApiModelProperty(value = "订单号")
    private String outOrderCode;

    private String spId;
    /**
     * 是否通知智慧厨房
     */
    private Boolean isNotifyKitchen = false;

    @ApiModelProperty("设备绑定渠道, 1-手动, 2-时刻助手 3-TCIS 4-紫荆WiFi")
    private Integer bindChannel = 1;

    @ApiModelProperty("memberId")
    private String memberId;

    @ApiModelProperty(value = "户号")
    private String subCode;

    @ApiModelProperty(value = "操作类型，0 -安装,1-置换,3-退货")
    private Integer operateType;
}
